<?php

namespace App\Models\Accident;

use App\Models\Model;

class AccidentRepair extends Model
{
    protected $table = 'akbus_accident_repair';

    protected $fillable = [
        'date',
        'content',
        'type',
        'cost',
        'accident_id',
    ];

    public function accident(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(Accident::class);
    }
}
